﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace KL.Store.Core.Domain
{
    public class City
    {
        public virtual short CountryId { get; set; }
        public virtual short CityId { get; set; }
        public virtual string CityName { get; set; }
        public virtual bool FreeCargo { get; set; }
        public virtual bool VoucherPayment { get; set; }
        public virtual int RegionId { get; set; }
        public virtual bool ShowFreeInCity { get; set; }

    }

    public class CityDDL
    {
        public CityDDL()
        {
        }

        public CityDDL(short cityId, string cityName, bool showfreeincity)
        {
            CityId = cityId;
            CityName = cityName;
            ShowFreeInCity = showfreeincity;
        }

        public virtual short CityId { get; set; }
        public virtual string CityName { get; set; }
        public virtual bool ShowFreeInCity { get; set; }
    }

    public class Region
    {
        public virtual int Id { get; set; }
        public virtual int Order { get; set; }
        public virtual string Name { get; set; }
        public virtual decimal MinPrice { get; set; }
        public virtual decimal TransportPrice { get; set; }
        public virtual decimal TransportPriceUnderLimit { get; set; }
        public virtual bool MinPriceRequired { get; set; }
        public virtual bool InstallationAvailable { get; set; }
        public virtual bool InstallationPriceAvailable { get; set; }
    }

}
